package com.ymttest.database.sharding.db.ext.mapper;

import com.ymttest.database.sharding.db.ext.model.OrderSyncCmdExtExample;
import com.ymttest.database.sharding.db.ext.model.OrderSyncCmdExtPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderSyncCmdExtMapper {
    int countByExample(OrderSyncCmdExtExample example);

    int deleteByExample(OrderSyncCmdExtExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderSyncCmdExtPo record);

    int insertSelective(OrderSyncCmdExtPo record);

    List<OrderSyncCmdExtPo> selectByExample(OrderSyncCmdExtExample example);

    OrderSyncCmdExtPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderSyncCmdExtPo record, @Param("example") OrderSyncCmdExtExample example);

    int updateByExample(@Param("record") OrderSyncCmdExtPo record, @Param("example") OrderSyncCmdExtExample example);

    int updateByPrimaryKeySelective(OrderSyncCmdExtPo record);

    int updateByPrimaryKey(OrderSyncCmdExtPo record);
}